<?php /* Smarty version 2.6.18, created on 2017-01-04 16:51:53
         compiled from mysql/mysql.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form name="myform" action="" method="get">	
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">数据库备份</p>
                    <a href="tp/teacher_in.xls" class="btn btn-success btn-sm" style="float:right; color:#fff; margin-left:10px;">模版</a>
                    <a href="index.php?a=teacher.outdata&staff_position=<?php echo $this->_tpl_vars['staff_position']; ?>
&staff_education=<?php echo $this->_tpl_vars['staff_education']; ?>
&staff_name=<?php echo $this->_tpl_vars['staff_name']; ?>
" target="_blank" class="btn btn-warning btn-sm" style="float:right; color:#fff; margin-left:10px;" onclick="if(confirm('姓名从第三行开始')==false)return false;">导 出</a>
					<a href="index.php?a=teacher.in" class="btn btn-success btn-sm" style="float:right; color:#fff; margin-left:10px;">导 入</a>
					<a href="index.php?a=teacher.add" class="btn btn-primary btn-sm" style="float:right; color:#fff;">新 增</a>
                </div>
                <div class="box-body">
                    
                    <div style="clear:both; height:2px;"></div>
                    <div style="width:100%; overflow-x:scroll">
                     <table class="table table-bordered table-striped"  id="mytable">
                                <thead>
                                    <tr style="background-color:#a273ff"> 
                                        <td>路径</td> 
                                        <td>文件名</td> 
                                        <td>时间</td> 
										<td width="260">操作</td>
                                    </tr>	
                                </thead>

                                <tbody>
                               <?php $_from = $this->_tpl_vars['staff_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                                    <tr>
                                        <td><?php echo $this->_tpl_vars['value']['staff_number']; ?>
</td>
                                        <td><?php echo $this->_tpl_vars['value']['staff_name']; ?>
</td> 
                                        <td><?php echo $this->_tpl_vars['value']['staff_sex']; ?>
</td> 
                                           <td> 
                                        	  <a href="index.php?a=teacher.update&staff_id=<?php echo $this->_tpl_vars['value']['staff_id']; ?>
" class="btn btn-warning btn-xs"> 还 原 </a>
											  
                                         </td>
                                         
                                          
                                    </tr>	
                                 <?php endforeach; endif; unset($_from); ?>
                           
                               </tbody>
                        </table>
                       
                        </div>
                        
				   </div><!--box-body -->
                   <div class="box-footer">
                       <?php echo $this->_tpl_vars['page']; ?>

                   </div>
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
 <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
